package com.atzly.community.datasource;

public interface DataSourceConstants {

  String DEFAULT_CLICKHOUSE_SOURCE_NAME = "clickHouseDataSource";

  String DEFAULT_DORIS_SOURCE_NAME = "dorisDataSource";

  String DEFAULT_DORIS_DW_SOURCE_NAME = "dorisDwDataSource";

  String DEFAULT_DORIS_HYBIRD_SOURCE_NAME = "dorisHyBirdDataSource";

  /**
   * 默认数据源名称
   */
  String DEFAULT_DATA_SOURCE_NAME = "defaultDataSource";
  /**
   * 动态数据源名称前缀
   * 规则： DYNAMIC_DATA_SOURCE_NAME + SEPARATOR_CHAR + dbId
   */
  String DYNAMIC_DATA_SOURCE_NAME = "dynamicDataSource";
  /**
   * 缺省
   */
  String SLAVE_DYNAMIC_DATA_SOURCE_NAME = "slaveDynamicDataSource";
  /**
   * 数据源前缀和dbid之间以 SEPARATOR_CHAR 相连
   */
  String SEPARATOR_CHAR = "-";
  
  // int DYNAMIC_DATA_SOURCE_NAME_LENGTH = DYNAMIC_DATA_SOURCE_NAME.length();
}
